package com.cxc.proxy.dynamicProxy;

public class ProxyStar implements Star {

    private StarHandler handler;

    public ProxyStar(StarHandler handler) {
        super();
        this.handler = handler;
    }


    @Override
    public void confer() {
        System.out.println("代理面谈。。。。");
    }

    @Override
    public void signContract() {
        System.out.println("代理签约。。。。");
    }

    @Override
    public void bookTicket() {
        System.out.println("代理订票。。。。");
    }

    @Override
    public void sing() {
//        handler.invoke(this,args);
    }

    @Override
    public void collectMoney() {
        System.out.println("代理收钱。。。。");
    }
}
